package com.leon.notepad.content.bean;

import org.litepal.crud.LitePalSupport;

import java.io.Serializable;

public class NotepadBean extends LitePalSupport implements Serializable {
    private long id;
    private String title;//标题
    private String content;//文字
    private String image;//图片地址
    private String sound;//录音地址
    private long time;//创建日期
    private int type;//类型，0记事，1混合

    public NotepadBean() {
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getSound() {
        return sound;
    }

    public void setSound(String sound) {
        this.sound = sound;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "NotepadBean{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", image='" + image + '\'' +
                ", sound='" + sound + '\'' +
                ", time=" + time +
                ", type=" + type +
                '}';
    }
}
